<?php

namespace paper\constraint;

use paper\http\response\Response;

interface ExceptionCatcher
{
    public function onCatch(\Throwable $exception):Response;
}